/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.pku.sei.AMT;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Rule</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link edu.pku.sei.AMT.Rule#getVariables <em>Variables</em>}</li>
 *   <li>{@link edu.pku.sei.AMT.Rule#getSections <em>Sections</em>}</li>
 * </ul>
 * </p>
 *
 * @see edu.pku.sei.AMT.AmtPackage#getRule()
 * @model
 * @generated
 */
public interface Rule extends NamedElement, ModifierElement {
	/**
	 * Returns the value of the '<em><b>Variables</b></em>' containment reference list.
	 * The list contents are of type {@link edu.pku.sei.AMT.Variable}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Variables</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Variables</em>' containment reference list.
	 * @see edu.pku.sei.AMT.AmtPackage#getRule_Variables()
	 * @model type="edu.pku.sei.AMT.Variable" containment="true"
	 * @generated
	 */
	EList getVariables();

	/**
	 * Returns the value of the '<em><b>Sections</b></em>' containment reference list.
	 * The list contents are of type {@link edu.pku.sei.AMT.Section}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Sections</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Sections</em>' containment reference list.
	 * @see edu.pku.sei.AMT.AmtPackage#getRule_Sections()
	 * @model type="edu.pku.sei.AMT.Section" containment="true"
	 * @generated
	 */
	EList getSections();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model type="edu.pku.sei.AMT.Section" modifiersMany="true"
	 * @generated
	 */
	EList getSectionsByModifiers(EList modifiers);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model
	 * @generated
	 */
	ObjectVariable getVariable(String name);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model type="edu.pku.sei.AMT.Section"
	 * @generated
	 */
	EList getSectionsByModelName(String modelName);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model type="edu.pku.sei.AMT.Variable" variablesType="edu.pku.sei.AMT.Variable" variablesMany="true" exclusiveSectionsType="edu.pku.sei.AMT.Section" exclusiveSectionsMany="true"
	 * @generated
	 */
	EList getExclusiveVariables(EList variables, EList exclusiveSections);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model type="edu.pku.sei.AMT.Section" modelType="edu.pku.sei.AMT.TypedModel" modelMany="true"
	 * @generated
	 */
	EList getSectionsByTypedModel(EList model);

} // Rule
